<div id="header">
	 <div class="header_left">
		<h1>G&A CINEMA</h1>
		<h3>see the best movies</h3>
	 </div>
	 <div class="header_right" id="searchBar">
		<?php echo $this->Form->Create('FormBuscar',array('url'=>array('controller'=>'search','action'=>'buscar')));
		//<form style="position:relative;" id="searchformnew" name="searchformnew" method="post" action="search/buscar">
        ?><fieldset comp="Autocomplete" tabindex="-1" class="">
            <div class="searchBox" sub="searchBox">
            	<input sub="input" type="text" name="search" onblur="this.parentNode.parentNode.className='';" onfocus="this.parentNode.parentNode.className='selected'; if (value == 'ZIP Code or City, State' || value == 'Search movies, actors, critics') { value ='' }" id="mini_searchbox" value="Search movies, actors, critics" defaulttext="Search movies, actors, critics" gtbfieldid="27" autocomplete="off" style="visibility: visible; ">
            	<button sub="submitbutton" type="submit" style="visibility: visible; "><span class="icon magnify"></span></button>
            </div>
        </fieldset>
		<?php echo $this->Form->end();//</form>?>
	 </div>
	</div>
	<div id="topnavi">
		<ul>
			<li class="norm select"><?php echo $this->Html->link(__('Films'), array('controller'=>'films','action' => 'index')); ?></li>
			<li class="norm"><?php echo $this->Html->link(__('Actors'), array('controller'=>'actors','action' => 'index')); ?></li>
			<li class="norm"><?php echo $this->Html->link(__('Directors'), array('controller'=>'directors','action' => 'index')); ?></li>
			<li class="norm"><?php echo $this->Html->link(__('Search'), array('controller'=>'search','action' => 'search')); ?></li>
			<li class="norm"><?php echo $this->Html->link(__('Autors'), array('controller'=>'info','action' => 'autors')); ?></li>
			<li class="norm"><?php echo $this->Html->link(__('Limitations'), array('controller'=>'info','action' => 'limitaciones')); ?></li>
			<li class="norm">
				<?php
					if(AuthComponent::user())
						echo $this->Html->Link('Logout','/Users/logout');
					
					else
						echo $this->Html->Link('Login','/Users/login');

				?>
			</li>
		</ul>
	</div>